home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 033a / medit_.zip / MEDIT.DOC < prev    next >
Text File  |  1993-04-24  |  2KB  |  62 lines

  1. MEDIT!.DOC
  2.  
  3. Congradulations on recieving this software. Medit! will allow you to edit &
  4. create custom mouse cursors for 640x480 graphics mode and 320x200 graphics
  5. mode.
  6.  
  7. The program is easy enough to get used to. Press (H)elp in the options 
  8. menu to recieve full instructions to the program.
  9.  
  10. MEDIT! creates a file that you can easily import into any C compiler. 
  11.  
  12. To use medited mouse cursors, you must include the following lines of text
  13. in your program:
  14.  
  15. void setmousecursor(int hotspotx, int hotspoty, void far *mbufp);
  16. typedef union
  17.   {
  18.   struct {unsigned char Cursor_mask[32], Screen_mask[32];} m;
  19.   unsigned char Mouse_mask[64];
  20.   } MOUSE;
  21.   
  22. MOUSE mycursor = {#,#,#...}; /* this is the text file created by MEDIT! */
  23.  
  24. and include medit.obj in your project or program list.
  25.  
  26. A simple call to setmousecursor() will change the mouse cursor shape
  27. to the defined cursor. An example of this call is:
  28.  
  29. setmousecursor(0,0,&mycursor); /* Set the cursor shape to my cursor */
  30.  
  31. The arguments hotspotx and hotspoty define where the cursor hot spot will
  32. be. values of 0-15 are acceptable for each argument and are counted from
  33. the upper left corner of the cursor. For example: 0,0 would be the upper-
  34. left corner of the cursor and: 15,15 would be the bottom right corner.
  35.  
  36. If you are new to mouse programming, I've included a function called:
  37. mouse() in with MEDIT.obj. This will allow you to initialize the mouse
  38. and perform all the mouse functions available. If you use this function,
  39. include the following prototype in your code:
  40.  
  41. void mouse(int ax, int bx, int cx, int dx);
  42. extern int Max, Mbx, Mcx, Mdx;
  43.  
  44. And read MOUSE.DOC for a detailed explanation of the mouse driver functions.
  45.  
  46. If you are interested in the future releases of MEDIT! and/or any graphics
  47. routines shown in any of my demo's... I can be reached on STRUCTURES BBS
  48. (416) 778-4193 Programmers Bulletin Board System in the C Programming 
  49. Conference.
  50.  
  51. A registration fee of $5.00 will get you all the source code for MEDIT!
  52. as well as source code for my 320x200 256 colors graphics library. Plus!
  53. You'll get free updates and helpful info anytime. Send check / money order
  54. to the following address:
  55.  
  56.                         ROBERT BROWER
  57.                         411 WINFIELD TERRACE
  58.                         MISSISSAUGA, ONTARIO
  59.                         L5R-1N9 CANADA
  60.  
  61.                 * INCLUDE EXTRA $$$ FOR SHIPPING *
  62.